updating oE db_replace_data

db_replace_data

include eds.e 
namespace eds 
public procedure db_replace_data(integer key_location, object data, 
        object table_name = current_table_name) 

replaces, the current table, the data portion of a record with new data.

Parameters:
  1. key_location: an integer, the index of the record the data is to be altered.
  2. data: an object , the new value associated to the key of the record.
  3. table_name: optional table name of record to replace data in.
Comments:

key_location must be from 1 to the number of records in the current table. data is an Euphoria object of any kind, atom or sequence.

Example 1:
db_replace_data(67, {"Peter", 150, 34.5}) 
See Also:

db_find_key

Not Categorized, Please Help

Search



Quick Links

User menu

Not signed in.

Misc Menu